import os
import sys
import platform

env=DefaultEnvironment().Clone()
BIN_DIR=os.environ['BIN_DIR'];

env['LIBS'] = ['http', 'curl'] + env['LIBS']

if platform.system() == 'Windows':
  env['LIBS'] = ['Ws2_32', 'Wldap32'] + env['LIBS']

env.Program(os.path.join(BIN_DIR, 'demo_http'), ['demo_http.c'])
